package com.ktjy.entity;

public class AuctionUser {
    private int userId;
    private String userName;
    private String userPassword;
    private String userCardNo;
    private String userTel;
    private String userAddress;
    private String userPostNumber;
    private boolean userIsAdmin;
    private String userQuestion;
    private String userAnswer;


    public AuctionUser() {
    }

    public AuctionUser(int userId, String userName, String userPassword, String userCardNo, String userTel, String userAddress, String userPostNumber, boolean userIsAdmin, String userQuestion, String userAnswer) {
        this.userId = userId;
        this.userName = userName;
        this.userPassword = userPassword;
        this.userCardNo = userCardNo;
        this.userTel = userTel;
        this.userAddress = userAddress;
        this.userPostNumber = userPostNumber;
        this.userIsAdmin = userIsAdmin;
        this.userQuestion = userQuestion;
        this.userAnswer = userAnswer;
    }

    /**
     * 获取
     * @return userId
     */
    public int getUserId() {
        return userId;
    }

    /**
     * 设置
     * @param userId
     */
    public void setUserId(int userId) {
        this.userId = userId;
    }

    /**
     * 获取
     * @return userName
     */
    public String getUserName() {
        return userName;
    }

    /**
     * 设置
     * @param userName
     */
    public void setUserName(String userName) {
        this.userName = userName;
    }

    /**
     * 获取
     * @return userPassword
     */
    public String getUserPassword() {
        return userPassword;
    }

    /**
     * 设置
     * @param userPassword
     */
    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword;
    }

    /**
     * 获取
     * @return userCardNo
     */
    public String getUserCardNo() {
        return userCardNo;
    }

    /**
     * 设置
     * @param userCardNo
     */
    public void setUserCardNo(String userCardNo) {
        this.userCardNo = userCardNo;
    }

    /**
     * 获取
     * @return userTel
     */
    public String getUserTel() {
        return userTel;
    }

    /**
     * 设置
     * @param userTel
     */
    public void setUserTel(String userTel) {
        this.userTel = userTel;
    }

    /**
     * 获取
     * @return userAddress
     */
    public String getUserAddress() {
        return userAddress;
    }

    /**
     * 设置
     * @param userAddress
     */
    public void setUserAddress(String userAddress) {
        this.userAddress = userAddress;
    }

    /**
     * 获取
     * @return userPostNumber
     */
    public String getUserPostNumber() {
        return userPostNumber;
    }

    /**
     * 设置
     * @param userPostNumber
     */
    public void setUserPostNumber(String userPostNumber) {
        this.userPostNumber = userPostNumber;
    }

    /**
     * 获取
     * @return userIsAdmin
     */
    public boolean isUserIsAdmin() {
        return userIsAdmin;
    }

    /**
     * 设置
     * @param userIsAdmin
     */
    public void setUserIsAdmin(boolean userIsAdmin) {
        this.userIsAdmin = userIsAdmin;
    }

    /**
     * 获取
     * @return userQuestion
     */
    public String getUserQuestion() {
        return userQuestion;
    }

    /**
     * 设置
     * @param userQuestion
     */
    public void setUserQuestion(String userQuestion) {
        this.userQuestion = userQuestion;
    }

    /**
     * 获取
     * @return userAnswer
     */
    public String getUserAnswer() {
        return userAnswer;
    }

    /**
     * 设置
     * @param userAnswer
     */
    public void setUserAnswer(String userAnswer) {
        this.userAnswer = userAnswer;
    }

    public String toString() {
        return "AuctionUser{userId = " + userId + ", userName = " + userName + ", userPassword = " + userPassword + ", userCardNo = " + userCardNo + ", userTel = " + userTel + ", userAddress = " + userAddress + ", userPostNumber = " + userPostNumber + ", userIsAdmin = " + userIsAdmin + ", userQuestion = " + userQuestion + ", userAnswer = " + userAnswer + "}";
    }
}